package spring;

import org.springframework.stereotype.Service;

/**
 * 创建时间：2025-05-09 14:47
 */
@Service
public abstract class AbstractStrategy implements RewardStrategy {
    /**
     * 发放奖励策略
     */
    @Override
    public String issueReward(Object... params) {
        System.out.println("default reward");
        return "default reward";
    }

    /**
     * 发送积分策略
     */
    public void issueIntegralReward(Object... params) {
        System.out.println("default integral reward");
    }
}
